package com.trumeen.immichgallery.model

import com.trumeen.immichgallery.network.RetrofitClient

data class Person(
    val id: String,
    val name: String,
    val thumbnailPath: String? = null,
    val birthDate: String? = null,
    val color: String? = null,
    val isFavorite: Boolean = false,
    val isHidden: Boolean = false,
    val updatedAt: String? = null
) {
    // 使用动态的 baseUrl
    val thumbnailUrl: String
        get() = "${RetrofitClient.baseUrl}people/$id/thumbnail"
}